import { NgModule } from '@angular/core';
import { SharedModule } from '@shared/shared.module';
import { DevicesRoutingModule } from './devices-routing.module';
import { DevicesListComponent } from './list/list.component';
import { DevicesListEditComponent } from './list/edit/edit.component';
import { DevicesListViewComponent } from './list/view/view.component';

const COMPONENTS = [
  DevicesListComponent];
const COMPONENTS_NOROUNT = [
  DevicesListEditComponent,
  DevicesListViewComponent];

@NgModule({
  imports: [
    SharedModule,
    DevicesRoutingModule
  ],
  declarations: [
    ...COMPONENTS,
    ...COMPONENTS_NOROUNT
  ],
  entryComponents: COMPONENTS_NOROUNT
})
export class DevicesModule { }
